home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / os2tools / look2 / look2.doc < prev    next >
Text File  |  1992-01-11  |  29KB  |  771 lines

  1.                             LOOK2 Documentation
  2.  
  3.                  LOOK2 v1.0  ∞ An OS/2 File Viewing Utility ∞  
  4.                   Copyright (c) 1992 Southwest Software (tm)
  5.            8511 Selway Drive, Austin, TX 78736  CompuServe 76330,3577
  6.  
  7.    >>>>>>>>>>>>>>>>>>>>>>>>> SHAREWARE SOFTWARE <<<<<<<<<<<<<<<<<<<<<<<<<
  8.  
  9.    This program is copyrighted software.  You may and are encouraged to
  10.    copy and share it with others as long as it is copied in its entirety
  11.    unmodified and no charge is made for it.  If you find LOOK2 useful in
  12.    your OS/2 environment, please send a $20 registration fee along with
  13.    a filled-out registration form to the address below.  In return, you
  14.    will receive a lifetime registration number that is valid for this
  15.    and any future versions of LOOK2.  Registered users will receive
  16.    notifications by mail when new versions of LOOK2 are available to be
  17.    downloaded.
  18.  
  19.    Although LOOK2 was written with great care and attention (I wrote it
  20.    originally for my own use), it like any other computer program may
  21.    contain bugs.  That being the case, I must, reluctantly, make the
  22.    following disclaimer.
  23.  
  24.    %%%%%%%%%%%%%%%%%%%%%%%%%% DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  25.  
  26.    THE USER OF THE PROGRAM BY USING IT AGREES NOT TO HOLD SOUTHWEST
  27.    SOFTWARE NOR ITS OWNERS NOR ITS EMPLOYEES LIABLE FOR ANY DAMAGE
  28.    THAT MAY HAVE BEEN CAUSED BY EITHER THE PROPER OR IMPROPER
  29.    FUNCTIONING OR BY THE USE OR MISUSE OF THE LOOK2 SYSTEM.
  30.  
  31.    %%%%%%%%%%%%%%%%%%%%%%%% END OF DISCLAIMER %%%%%%%%%%%%%%%%%%%%%%%%
  32.  
  33.    That being said, if you decide to become a registered user of LOOK2,
  34.    PLEASE let me know of any bugs you encounter in LOOK2.  I may be
  35.    contacted in CompuServe or Fidonet or by mail at the addresses
  36.    below.  If there is a feature that you would like to see changed or
  37.    added, please don't hesitate to let me know.  I cannot promise I will
  38.    be able to implement your ideas, but I will do my best. 
  39.  
  40.    Gary Bourque
  41.    Southwest Software
  42.    8511 Selway Drive
  43.    Austin, TX 78736
  44.    CompuServe 76300,3577
  45.    Fidonet 1:382/87
  46.  
  47.  
  48.  
  49.  
  50.  
  51.                           TABLE OF CONTENTS
  52.  
  53.  
  54.    0.  HOW TO REGISTER FOR LOOK2   - - - - - - - - - - - -  1
  55.  
  56.  
  57.    1.  INTRODUCTION  - - - - - - - - - - - - - - - - - - -  2
  58.        What is LOOK2?    - - - - - - - - - - - - - - - - -  2
  59.        LOOK2 Philosophy  - - - - - - - - - - - - - - - - -  2
  60.  
  61.  
  62.    2.  RUNNING LOOK2   - - - - - - - - - - - - - - - - - -  3
  63.        Invoking LOOK2    - - - - - - - - - - - - - - - - -  3
  64.        Filespec Variations   - - - - - - - - - - - - - - -  3
  65.        Directing LOOK2 with the Keyboard and Mouse - - - -  3
  66.        Setting LOOK2 Options   - - - - - - - - - - - - - -  4 
  67.        The LOOK2FLAGS Environment Variable  - - - - - - -   4
  68.        LOOK2 Options  - - - - - - - - - - - - - - - - - -   4
  69.  
  70.  
  71.    3.  THE DIRECTORY SCREEN  - - - - - - - - - - - - - - -  6
  72.        Directory Screen Option Commands  - - - - - - - - -  6
  73.        Directory Screen Action Commands  - - - - - - - - -  7
  74.        Directory Screen Usage Notes  - - - - - - - - - - -  9
  75.  
  76.  
  77.    4.  THE FILE SCREEN   - - - - - - - - - - - - - - - - -  9
  78.        File Screen Option Commands   - - - - - - - - - - -  9
  79.        File Screen Action Commands   - - - - - - - - - - -  10
  80.        File Screen Usage Notes   - - - - - - - - - - - - -  11
  81.  
  82.  
  83.    5.  OTHER LOOK2 NOTES   - - - - - - - - - - - - - - - -  12
  84.  
  85.  
  86.  
  87.  
  88.    0.  HOW TO REGISTER FOR LOOK2.
  89.  
  90.    LOOK2 is shareware.  As such, you are expected to, if you continue to use
  91.    it after an initial trial period, to register and pay for the continued
  92.    use of it.  What is the length of the trial period?  Well, that I leave
  93.    up to the discretion of the individual user.  Those of us who have used
  94.    shareware pretty much know when we are done trialing a product and have 
  95.    added it to our set of tools.  When you reach that point with LOOK2,
  96.    please register.  Its easy, you will be registered for life and you
  97.    will help all my hard work pay off.  Here's what to do.
  98.  
  99.       1.  Fill out a copy of the enclosed order form.  Please print
  100.           or type and be complete.
  101.  
  102.       2.  Mail the order form along with a check or money order 
  103.           for the total number of copies ordered plus tax, if any.
  104.  
  105.       3.  In as short a time as possible, you will receive a letter
  106.           containing the registration numbers for each name registered
  107.           along with instructions on how to invoke LOOK2's registration
  108.           process. 
  109.  
  110.       4.  Start up LOOK2 for registration and enter your name and number
  111.           to it.  Now you are registered.
  112.  
  113.       5.  As a registered user you will be notified by mail of any new 
  114.           versions of LOOK2 and how to download them from a local or 
  115.           national bulletin board.
  116.          
  117.    Corporate multi-user accounts are available, please call for prices.          
  118.  
  119.                                  - 1 -
  120.  
  121.  
  122.  
  123.    1.  INTRODUCTION.
  124.  
  125.    What is LOOK2?
  126.  
  127.    LOOK2 is a text-based OS/2 directory and file viewing and manipulation
  128.    program.  I decided to write LOOK2 because there were no, I felt,
  129.    adequate file/directory tools for OS/2 at that time.  LOOK2 provides
  130.    some of the same features of other popular file viewers and adds some
  131.    of its own that none of the others provide.
  132.  
  133.  
  134.    Just some of LOOK2's features are:
  135.  
  136.    o  Directory history.
  137.  
  138.    o  Mouse support.
  139.  
  140.    o  25, 43 or 50 video lines modes.
  141.  
  142.    o  Multiple sort key directory sorting capability with automatic sorting.
  143.  
  144.    o  File viewing in hexadecimal mode.
  145.  
  146.    o  Toggling between hex and text mode maintaining file position.
  147.  
  148.    o  Direct go to line or offset capability.
  149.  
  150.    o  Text editor invocation.
  151.  
  152.    o  .EXE, .COM or .CMD synchronous or asynchronous program execution.
  153.  
  154.    o  Ability to mark and copy, move or delete groups of files and
  155.       subdirectories at once.
  156.  
  157.    o  Deletion of empty or non-empty directories.
  158.  
  159.  
  160.  
  161.    LOOK2 Philosophy
  162.  
  163.      One of the main features I wanted to include in LOOK2 was the
  164.    ability to "travel" around among files, directories and drives and
  165.    still be able to easily get back where I started.  With this in mind,
  166.    I built in a directory history feature that, when enabled, remembers
  167.    each directory you have viewed.  Pressing the ESCAPE key from a
  168.    directory screen takes you back to the directory you were in before
  169.    the current one, if one exists.
  170.  
  171.      That being the case, ESCAPE will never cause LOOK2 to terminate.
  172.    ESCAPE is the backout key in LOOK2.  If you're like me, you find it
  173.    annoying when ESCAPE is used prominently to move around in a program
  174.    and also causes the program to terminate, because you often exit the
  175.    program unintentionally.  So, F10 is the only keystroke that will
  176.    cause LOOK2 to terminate.
  177.  
  178.                                  - 2 -
  179.  
  180.  
  181.  
  182.    2. RUNNING LOOK2.
  183.  
  184.    Invoking LOOK2
  185.  
  186.       LOOK2 is invoked from an OS/2 command prompt by typing
  187.  
  188.         LOOK2 [options] [drive:][path][file]
  189.  
  190.  
  191.    Filespec Variations
  192.  
  193.    If the drive/path/file (filespec) data is the name of a file, the
  194.    file will be displayed for viewing.  If it is a directory, the
  195.    directory will displayed.  If it contains valid wildcards, any files
  196.    matching the wildcard will be queued for display and the first
  197.    matching file will be displayed.  If no filespec is entered, the
  198.    current directory will be displayed.
  199.  
  200.    If the file or directory cannot be found, LOOK2 displays a message and
  201.    terminates.  If the wildcard had no matches, LOOK2 displays a message and
  202.    then goes to the directory screen either of the current directory or the
  203.    directory included in the wildcard spec.  Please note that the wildcard
  204.    portion of the filespec is for files, not paths.  So, while the following
  205.    spec is valid...
  206.  
  207.       LOOK2 F:\LOOK2\L*.?
  208.  
  209.  
  210.    This next one is invalid...
  211.  
  212.       LOOK2 F:\LO**\LOOK2.EXE
  213.  
  214.  
  215.  
  216.    Directing LOOK2 with the Keyboard or the Mouse
  217.  
  218.    LOOK2 may be controlled either by a variety of keystrokes or mouse
  219.    actions.  To enter a command either press the upper-case letter of a
  220.    command listed in the top row of a directory or file screen or click
  221.    it with the left mouse button.
  222.  
  223.    To change an option setting either press ALT and the letter of the
  224.    option (video mode is V) or click the option (right of 'Ops:' on the
  225.    top row) with the left mouse button.  When an option is enabled, it 
  226.    will be uppercase; when disabled, lowercase.  Note, that while 
  227.    directory column count is one of the options that can be clicked 
  228.    with the mouse, the corresponding keyboard command does not require 
  229.    the ALT key to be pressed.  Just press 1 through 5 to change the 
  230.    column count.
  231.  
  232.    ESCAPE is the backout key in LOOK2.  The right mouse button is
  233.    equivalent to ESCAPE.
  234.  
  235.    In file viewing mode, the mouse my be used on the right scroll bar to
  236.    scroll through the file.
  237.  
  238.    In text mode the cursor may be placed on a text item by clicking the
  239.    left mouse button.   This is useful when using Microsoft QuickHelp as
  240.    a monitor under OS/2 since QuickHelp searches for the subject at the
  241.    cursor location when alt-Q is pressed.
  242.  
  243.                                  - 3 -
  244.  
  245.  
  246.  
  247.    Setting LOOK2 Options
  248.  
  249.    Any number of LOOK2 options may be include before the filespec. A LOOK2
  250.    option has the following format.
  251.  
  252.       /[o][data]
  253.  
  254.    Where o is an option letter or number and data is some required or
  255.    optional data for the option.  If the option is of the on/off
  256.    variety, the '+' or '-' sign may be included to override settings in
  257.    the LOOK2FLAGS environment variable, where '+' is on and '-' is off.
  258.    If the '+' or '-' are omitted, '+' is the default.  The options do
  259.    not have to be separated by spaces and may be upper or lower case. 
  260.    Do not use a '-' in lieu of the '/'.  For example to turn off any 
  261.    sounds LOOK2 may produce enter:
  262.  
  263.       LOOK2 /B-
  264.  
  265.    Many LOOK2 options correspond to LOOK2 commands to the directory screen
  266.    or file screen or both.
  267.  
  268.  
  269.  
  270.    The LOOK2FLAGS Environment Variable
  271.  
  272.    Any option may be set the LOOK2FLAGS environment variable.  When
  273.    placed there, they will effect any execution of LOOK2.  Note that
  274.    command line options always override the evironment variable.  The
  275.    LOOK2FLAGS environment variable may be set in CONFIG.SYS or in any
  276.    .CMD file you run to initialize command prompt sessions.  Do not
  277.    placed filespecs to be viewed in LOOK2FLAGS, only options are
  278.    allowed.  For example to turn off sound, place the following in
  279.    CONFIG.SYS or a .CMD file.
  280.  
  281.       SET LOOK2FLAGS=/B-
  282.  
  283.  
  284.    LOOK2 Options
  285.  
  286.      /1bf       Sets border colors where b is the background color and
  287.                 f is the foreground color.
  288.  
  289.                 Valid colors are:
  290.                 Color        Value    Color           Value
  291.  
  292.                 Black        0        Dark Gray       8
  293.                 Blue         1        Light Blue      9
  294.                 Green        2        Light Green     A
  295.                 Cyan         3        Light Cyan      B
  296.                 Red          4        Light Red       C
  297.                 Magenta      5        Light Magenta   D
  298.                 Brown        6        Light Yellow    E
  299.                 Light Gray   7        White           F
  300.  
  301.                 Please note that colors from 8-F used for background
  302.                 colors will cause the foreground to blink in a full-screen
  303.                 session.
  304.  
  305.                                  - 4 -
  306.  
  307.  
  308.  
  309.      /2bf       Sets text colors where b is the background color and
  310.                 f is the foreground color.
  311.  
  312.      /3bf       Sets marked text colors where b is the background color and
  313.                 f is the foreground color.
  314.  
  315.      /B[+-]     Turns beep mode on or off.  Defaults are on and '+'.
  316.                 Corresponding command is alt-B.
  317.  
  318.      /C[+-]     Turns on upper or lower case display of directory and hex
  319.                 file screens.  '+' is uppercase; '-' lowercase. Default
  320.                 is on.  Corresponding command is alt-C.
  321.  
  322.      /Enfile~ops~...
  323.                 Type and filespec of text editor program to be invoked
  324.                 when the E command is executed and the operands to be
  325.                 passed to it.
  326.                 Where:
  327.                 n     -   Text editor type, 1=full-screen, 2=windowed, 3=PM
  328.                 file  -   Text editor filespec, may be name only or
  329.                           drive/path/name.  Include the file extension.
  330.                           If name only must be in PATH=.  Default is E.EXE
  331.                 ops   -   Any operands (options) to be passed to the editor.
  332.                           Must be separated by '~'.
  333.  
  334.      /I[+-]     Turns directory history tracking on or off.  Default is on.
  335.                 Corresponding command is alt-I.
  336.  
  337.      /Dn        Sets number of columns in the directory screen where n is
  338.                 1 - 5.  The fewer the number of columns the more information
  339.                 LOOK2 can display.  Corresponding commands are 1, 2, 3, 4, 5.
  340.  
  341.      /Kkfesdta  Directory menu sort keys where possible settings are any
  342.                 combination and sequence of:
  343.  
  344.                 k  -  Kind (Sorts directories before files).
  345.                 f  -  File name.
  346.                 e  -  File extension.
  347.                 s  -  File size.
  348.                 d  -  File last write date.
  349.                 t  -  File last write time.
  350.                 a  -  File attributes.
  351.  
  352.                 All sorts are ascending except for by attributes.
  353.                 Default is kfe.
  354.  
  355.      /L[+-]     Causes scroll down from bottom or scroll up from top to
  356.                 "loop" back to the other end.  When off, LOOK2 beeps when
  357.                 a scroll passed top or bottom of list is attempted.
  358.                 Default is off.
  359.                 Corresponding command is alt-L.
  360.  
  361.      /Pn        Number of seconds LOOK2 displays a message before the message
  362.                 is cleared.  Zero (0) means the message will not be cleared
  363.                 until a keyboard or mouse action occurs.
  364.  
  365.      /S[+-]     Sets text search case sensitivity.  Default is off.
  366.                 Corresponding command is alt-S.
  367.  
  368.                                  - 5 -
  369.  
  370.  
  371.  
  372.      /Tn        Set the width of a tab character and a horizontal scroll.
  373.                 Valid values are 0-8.  Default is 8.  The alt-T command
  374.                 toggles text display tab expansion on and off.
  375.  
  376.      /Vnn       Set video display mode line count.  Valid values are
  377.                 25, 43, 50.  Has no effect in an OS/2 window.  Default
  378.                 is setting of session when LOOK2 is started.  Corresponding
  379.                 command is alt-V.
  380.  
  381.      /W[+-]     Turn on or off long line wrapping in text file viewing mode.
  382.                 Default is off.  Corresponding command is alt-W.
  383.  
  384.      /Zn        Set default screen type of non-PM programs executed with
  385.                 the X command.  Valid settings are:
  386.  
  387.                 0  -  Get definition from the program.
  388.                 1  -  Full-screen.
  389.                 2  -  Windowed.
  390.                 4  -  Whatever LOOK2 is currently running under.
  391.  
  392.                 Default is 0.
  393.  
  394.  
  395.  
  396.  
  397.    3.  THE DIRECTORY SCREEN.
  398.  
  399.    The LOOK2 directory screen presents a list of the entries in the
  400.    current directory plus all the drives on your computer.  The first
  401.    entry will be highlighted.  By using the direction keys or
  402.    single-clicking the mouse, you may highlight any entry.  By pressing
  403.    ENTER or double-clicking the mouse on an entry, the entry will be
  404.    opened.  That is, either the file will be displayed or the directory
  405.    or drive will be entered and displayed.  Some directory screen
  406.    commands operate on the currently highlighted entry.
  407.  
  408.    Directories are identified by a '' or '' prefix.  '' indicates
  409.    the parent directory and will prefix only '..'.  '' indicates a
  410.    subdirectory.  Drives are identified by a ':' in the second
  411.    position and always appear last in the display.
  412.  
  413.  
  414.    Directory Screen Option Commands
  415.  
  416.    The settings of the directory screen options are displayed on the
  417.    right side of the top line of the display next to the 'Ops:'
  418.    heading.  Letter settings in uppercase indicate the option is on;
  419.    lowercase indicates the option is off.  The settings 2, 4, or 5
  420.    in column 71 indicate video line mode 25, 43, or 50.  The settings
  421.    1, 2, 3, 4, 5 in column 73 indicate the number of directory columns.
  422.  
  423.    The setting may be toggled by single-clicking the option setting with
  424.    the left mouse button or by the following keyboard actions.
  425.  
  426.                                  - 6 -
  427.  
  428.  
  429.  
  430.    1 - 5  -  Changes directory menu to the specified number of columns
  431.              The fewer the columns, the more information per entry is
  432.              displayed.
  433.  
  434.              In the one column display the information displayed is:
  435.              Filename  Extension  Size  Date  Time  Attributes
  436.  
  437.              One column of information above is removed for each one column
  438.              increase in the display.  Corresponding command line 
  439.              option /D.
  440.  
  441.    alt-B  -  Toggle beep on or off.  Corresponding command line option /B.
  442.  
  443.    alt-C  -  Toggle case of directory and hex screen display.
  444.              Corresponding command line option /C.
  445.  
  446.    alt-I  -  Toggle directory history on or off.  When on, user will be
  447.              able to return to previously visited directories by pressing
  448.              ESCAPE or the right mouse button.  Corresponding command line
  449.              option /I.
  450.  
  451.    alt-L  -  Toggle directory scroll looping on or off.  When on, scrolls up
  452.              from top or down from bottom will "loop" to the other end.
  453.              Corresponding command line option /L.
  454.  
  455.    alt-V  -  Toggles video mode from 25 line to 43 line to 50 line.
  456.              Corresponding command line option /V.
  457.  
  458.  
  459.  
  460.    Directory Screen Action Commands
  461.  
  462.    For commands in upper and lower case, the upper case letter is the command
  463.    hot key.
  464.  
  465.    HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
  466.                -  Move light bar to highlight an entry name.
  467.  
  468.    ENTER       -  Go to a new drive or directory or open a file for viewing.
  469.  
  470.    INSERT      -  Marks the current entry for group copy, move or delete.
  471.                   Parent directories and drives cannot be marked.  When
  472.                   a entry is marked, a flashing check mark will appear
  473.                   between the filename and its extension.
  474.  
  475.    DELETE      -  Unmarks the current entry.
  476.  
  477.    alt-INSERT  -  Marks all entries.
  478.  
  479.    alt-DELETE  -  Unmarks all entries.
  480.  
  481.    Copy        -  Prompts the user for a location (directory or file)
  482.                   and copies the current entry or the marked entries to
  483.                   the location the user specifies.  
  484.  
  485.    Delete      -  Prompts the user for verification and deletes
  486.                   current entry or the marked entries.
  487.  
  488.                                  - 7 -
  489.  
  490.  
  491.  
  492.    Edit        -  Invokes the editor specified in the /E option (or
  493.                   E.EXE if /E not entered) to edit the current entry.
  494.                   Directories and drives cannot be edited.
  495.  
  496.    eXec        -  Prompts for arguments to the program and whether or
  497.                   not the program should be executed asynchronously then
  498.                   the executes the current entry if it has a .EXE, .COM
  499.                   or .CMD extension.  If the program is executed 
  500.                   synchronously, the program must terminate before the user 
  501.                   will return to LOOK2.  If executed asynchronously, the 
  502.                   program executes totally separately and continues 
  503.                   to execute even after LOOK2 terminates.
  504.  
  505.    mKdir       -  Prompts for a new directory name and creates it.
  506.  
  507.    sPec        -  Prompts for a new filespec (directory, file or wildcard)
  508.                   and displays it.
  509.  
  510.    Move        -  Prompts the user for a location (directory or file)
  511.                   and moves the current entry or the marked entries to
  512.                   the location the user specifies.
  513.  
  514.    Rename      -  Prompts the user for a new name and renames the
  515.                   current entry to that name.
  516.  
  517.    Sort        -  Prompts the user for sort keys and sorts the current
  518.                   directory display accordingly.  Multiple sort keys are
  519.                   allowed.  Drive letters are not included in the sort.
  520.                   Sort keys can be any combination of:
  521.  
  522.                   k  -  Kind (Sorts directories before files).
  523.                   f  -  File name.
  524.                   e  -  File extension.
  525.                   s  -  File size.
  526.                   d  -  File last write date.
  527.                   t  -  File last write time.
  528.                   a  -  File attributes.
  529.  
  530.                   All sorts are ascending except for by attributes.
  531.                   Corresponding command line option /S.
  532.                   The default is kfe.  Once sort keys are entered, they 
  533.                   are active for any new directory LOOK2 displays until
  534.                   they are changed or cleared.  If you request a sort but
  535.                   enter no keys (i.e just press enter), the current sort 
  536.                   keys are cleared and no sorting is performed until 
  537.                   new sort keys are entered. 
  538.  
  539.    ESCAPE      -  Go to previous directory in history.
  540.  
  541.    F1          -  Display help screens.
  542.  
  543.    F10         -  Terminate LOOK2.
  544.  
  545.                                  - 8 -
  546.  
  547.  
  548.  
  549.    Directory Mouse Actions
  550.  
  551.    Left click commands to execute.
  552.  
  553.    Left click options to toggle.
  554.  
  555.    Left click a directory entry to highlight it.
  556.  
  557.    Left double-click a directory entry to open a file or enter a
  558.    directory or drive.
  559.  
  560.    Right click is the same as ESCAPE.
  561.  
  562.  
  563.  
  564.  
  565.    Directory Screen Usage Notes
  566.  
  567.    If a subdirectory is the object of a copy command is a subdirectory,
  568.    then the target name entered will be an existing or new directory.
  569.  
  570.    Only the Copy, Move and Delete commands can be operated upon marked
  571.    entries.  Other commands can be executed upon the current entry while
  572.    entries are marked.  But, be aware.  Some commands force a re-read of
  573.    the directory which clears all marks.
  574.  
  575.    Group copies to a file do NOT concatenate, so there is no reason to 
  576.    do this.
  577.  
  578.    Moves across drives are not allowed.  Use the Copy, then the Delete 
  579.    commands.
  580.  
  581.    If a file has the read-only attribute set, LOOK2 will notify the user
  582.    upon a delete request, but will carry out the deletion if the user 
  583.    desires.
  584.  
  585.    If you try to delete a non-empty directory, LOOK2 will warn you that you
  586.    are about to do so.  You may then abort or proceed with the deletion.
  587.  
  588.    Pressing ESCAPE or clicking the right mouse button will clear a dialog 
  589.    box and abort the corresponding function.
  590.  
  591.    Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
  592.    go to the previously displayed directory.
  593.  
  594.  
  595.  
  596.    4.  THE FILE SCREEN.
  597.  
  598.    The LOOK2 file screen presents a single file to be viewed.  The
  599.    direction keys or mouse actions the scroll bar on the right may be
  600.    used to scroll through the file.  The file may be displayed in either
  601.    text or hex mode.  Lines may be wrapped if desired.
  602.  
  603.  
  604.    File Screen Option Commands
  605.  
  606.    The settings of the files screen options are displayed on the right
  607.    side of the top line of the display next to the 'Ops:' heading.
  608.    Letter settings in uppercase indicate the option is on; lowercase 
  609.    indicates the option is off.  The setting 2, 4, or 5 in column 71
  610.    indicates video line mode 25, 43, or 50.  The settings 1, 2, 3, 4, 5
  611.    in column 73 indicate directory column count.
  612.  
  613.                                  - 9 -
  614.  
  615.  
  616.  
  617.    A setting may be toggled by single-clicking the option setting with
  618.    the left mouse button or by the following keyboard actions.
  619.  
  620.    alt-B  -  Toggle beep on or off.  Corresponding command line option /B.
  621.  
  622.    alt-C  -  Toggle case of directory and hex screen display.
  623.              Corresponding command line option /C.
  624.  
  625.    alt-S  -  Toggle case sensitivity of text searches.
  626.              Corresponding command line option /S.
  627.  
  628.    alt-T  -  Toggle expansion of tabs on or off.  The tab width is
  629.              set by the /T option.  It's default is 8.
  630.  
  631.    alt-H  -  Toggle hex display on or off.
  632.  
  633.    alt-W  -  Toggle line wrap on or off.  Corresponding command line
  634.              option /W.
  635.  
  636.    alt-V  -  Toggles video mode from 25 line to 43 line to 50 line.
  637.              Corresponding command line option /V.
  638.  
  639.  
  640.  
  641.  
  642.    File Screen Action Commands
  643.  
  644.    For commands in upper and lower case, the upper case letter is the command
  645.    hot key.
  646.  
  647.    HOME, END, UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN
  648.                -  Scroll through file.
  649.  
  650.    alt-LEFT    -  Go to column one.
  651.  
  652.    Goto        -  Prompts for a line number in text mode or a hex or 
  653.                   decimal offset in hex mode and goes to it.
  654.  
  655.    sPec        -  Prompts for a new filespec (directory, file or wildcard)
  656.                   and displays it.
  657.  
  658.    Quit        -  Go to next file in wildcard match list if wildcard
  659.                   was input.  Goes to directory screen if at end of 
  660.                   end of wildcard list or no wildcard was input.
  661.  
  662.    ESCAPE      -  Go to directory menu.
  663.  
  664.    F1          -  Display help screens.
  665.  
  666.    F2          -  Prompts for a string and then searches forward for it
  667.                   starting at the current position.  Use alt-S to turn
  668.                   case sensitivity on or off.
  669.  
  670.    F3          -  Searches again for the last input string.  Case sensitivity
  671.                   may be toggled in between searches.
  672.  
  673.    F10         -  Terminate LOOK2.
  674.  
  675.                                  - 10 -
  676.  
  677.  
  678.  
  679.  
  680.    File Mouse Actions
  681.  
  682.    Left click commands to execute.
  683.  
  684.    Left click options to toggle.
  685.  
  686.    Double left click scroll bar arrows to go to the top or bottom of
  687.    the file.
  688.  
  689.    Left click or left click and hold on arrows to scroll up or down a
  690.    line at a time.
  691.  
  692.    Left click or left click and hold on scroll bar body above or below
  693.    elevator to scroll up or down a page at a time.
  694.  
  695.    Left click on text to place cursor.  This is useful when running
  696.    QuickHelp as a monitor since QuickHelp will do an automatic search on
  697.    the subject above the cursor when alt-Q is pressed.
  698.  
  699.    Right click is the same as ESCAPE.
  700.  
  701.  
  702.  
  703.  
  704.    File Screen Usage Notes
  705.  
  706.    Files with certain extensions will be brought up initially in hex mode.
  707.    The currently supported extensions are:
  708.       
  709.       .EXE  
  710.       .COM  
  711.       .DLL
  712.       .OBJ
  713.       .LIB
  714.       .SYS (except CONFIG.SYS)
  715.       .DRV
  716.       .BIN
  717.       .FNT
  718.       .BMP
  719.       .GIF
  720.  
  721.    When wrap mode is on, scroll actions still move by the text line.  So,
  722.    if a line is wrapped once, scrolling passed it will cause the LOOK2 to
  723.    scroll two screen lines.
  724.  
  725.    Toggling between text and hex modes will keep the current file
  726.    position.  When you toggle from hex to text mode after scrolling in
  727.    hex mode LOOK2 must search for the current position from the top or 
  728.    bottom of the file in order to determine the line number.  So, there
  729.    may be a slight delay when viewing large files.
  730.  
  731.    Searches done from hex mode will place the display in text mode.
  732.  
  733.    Text marks set on file searches are cleared when a message is cleared.
  734.  
  735.    Use the Goto command to move to a line number in text mode or a hex or 
  736.    decimal offset in hex mode.
  737.  
  738.                                  - 11 -
  739.  
  740.  
  741.  
  742.    Pressing ESCAPE or clicking the right mouse button will clear a dialog 
  743.    box and abort the corresponding function.
  744.  
  745.    Pressing ESCAPE or clicking the right mouse button will cause LOOK2 to
  746.    go to the current directory display.
  747.  
  748.  
  749.  
  750.  
  751.    5. OTHER LOOK2 NOTES
  752.  
  753.  
  754.    LOOK2 uses a separate thread to clear messages displayed upon the
  755.    screen.  The /P command sets the number of seconds LOOK2 displays a
  756.    message before clearing it.  Valid setting are 0 through 9.  Zero (0)
  757.    turns off timed message clearing.  The default is 3 seconds.
  758.  
  759.    If a message is displayed, any keystroke or mouse action will clear
  760.    it immediately.  The action will then be carried out.  The exception
  761.    is ESCAPE (and right mouse button).  If these are input when a message 
  762.    is displayed, the message is cleared, but the ESCAPE action is not
  763.    carried over to the parent screen.  So, ESCAPE can be used to clear a
  764.    message at any time.
  765.  
  766.    LOOK2 will support HPFS files and drives, but it will not support
  767.    files which have filenames longer than eight characters or extensions
  768.    longer than three characters.
  769.  
  770.                                  - 12 -
  771.